package com.tianyi.sfzy1.domain;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 咨询预约表
 * @TableName consultationappointment
 */
@Data
public class Consultationappointment implements Serializable {
    /**
     * 预约编号
     */
    private Integer appointmentId;

    /**
     * 咨询师编号 -- 应该引用Consultant(consultant_id)
     */
    private Integer consultantId;

    /**
     * 会员编号 -- 应该引用Member(member_id)
     */
    private Integer memberId;

    /**
     * 预约开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    /**
     * 预约结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    /**
     * 咨询内容
     */
    private String content;

    /**
     * 完结状态
     */
    private Integer finishStatus;

    private static final long serialVersionUID = 1L;

    private Consultationreview consultationreview;
    private Consultant consultant;
}